package cn.itsource.system.mapper;

import cn.itsource.system.domain.DictionaryType;
import cn.itsource.system.query.DictionaryTypeQuery;

import java.util.List;

public interface DictionaryTypeMapper {

    void save(DictionaryType dictionaryType);

    void update(DictionaryType dictionaryType);

    void delete(Long id);

    DictionaryType loadById(Long id);

    List<DictionaryType> loadAll();

    Integer queryCount(DictionaryTypeQuery typeQuery);

    List<DictionaryType> queryData(DictionaryTypeQuery typeQuery);
}
